package com.clpms.bean.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author caixinyong
 * @date 2023/5/5 9:23 PM
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LoginReq {
	@NotBlank(message = "工号不能为空")
	private String jobNumber;

	@NotBlank(message = "密码不能为空")
	private String password;

	@NotNull(message = "学校不能为空")
	private Long schoolId;
}
